﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IDotNet.MapLibs.Web
{
    /// <summary>
    /// 在地图上选择点
    /// </summary>
    interface ISelectMap
    {
        /// <summary>
        /// 获取请求参数
        /// </summary>
        /// <returns></returns>
        SelectMapReqModel GetSelectMapParam();

        /// <summary>
        /// 检查请求参数有没有问题
        /// </summary>
        /// <param name="request"></param>
        /// <param name="errMsg"></param>
        /// <returns></returns>
        bool CheckSelectMapParam(SelectMapReqModel request,out string errMsg);

        /// <summary>
        /// 选择地图上标识点
        /// </summary>
        /// <returns></returns>
        SelectMapResultInfo SelectMap();
    }
}
